package cn.mesmile.flow.customlisten;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @author zb
 * @date 2020/12/26 10:43
 * @Description
 */
public class EmailEvent  extends ApplicationEvent {

    @Setter
    @Getter
    private String email;

    @Setter
    @Getter
    private String content;

    public EmailEvent(Object source,String email, String content){
        super(source);
        this.email = email;
        this.content = content;
    }

    public EmailEvent(Object source) {
        super(source);
    }
}
